from django.conf.urls import url
from . import views

urlpatterns = [
    #/orders/places/
    url(r'^places/$',views.OrderSettlementView.as_view(),name='placeorder'),
    url(r'^$',views.OrdersView.as_view(),name='order'),
    url(r'^(?P<order_id>\d+)/uncommentgoods/$',views.GoodsUnComment.as_view(),name='orderuncomment'),
    url(r'^(?P<order_id>\d+)/comments/$',views.CommentAPIView.as_view(),name='ordercomment'),

]